package com.allwees.bs.module.wms.mq.event;

import com.allwees.core.common.util.UuidUtil;
import com.allwees.core.mq.rabbitmq.MqEvent;

import java.util.Collection;

public class PlatformShippedMqEvent extends MqEvent {

    public PlatformShippedMqEvent(String orderUuid) {
        super(UuidUtil.generate(), orderUuid);
    }

    public PlatformShippedMqEvent(Collection<String> orderUuids) {
        super(UuidUtil.generate(), orderUuids);
    }

    @Override
    public String getBizType() {
        return "WMS.ShippingOrder.PlatformShipped";
    }

    @Override
    public String getRoutingKey() {
        return "PlatformShipped";
    }
}
